package com.jsb.laundry.model.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @data 2023/4/19 14:02
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CurrentTimeDto implements Serializable {
    /**
     * 2023-04-19
     */
    private String text;
    /**
     * 时间戳
     */
    private Long value;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<CurrentTimeDto> children = new ArrayList<>();
}
